//
//  DevStringUtils.swift
//  DevFormView
//
//  Created by dev on 15/9/17.
//  Copyright (c) 2015年 devilved. All rights reserved.
//

import UIKit

class DevStringUtils {
    
    static func sizeOfString(str:String, font:UIFont) -> CGSize {
        return (str as NSString).sizeWithAttributes([NSFontAttributeName: font])
    }
    
}